Integrand size = 35, antiderivative size = 620 \[ \int \frac {\sqrt {a+b x^3} \left (c+d x+e x^2+f x^3+g x^4\right )}{x} \, dx=\frac {2 a f \sqrt {a+b x^3}}{9 b}+\frac {6 a g x \sqrt {a+b x^3}}{55 b}+\frac {6 a e \sqrt {a+b x^3}}{7 b^{2/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {2 \sqrt {a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}-\frac {2}{3} \sqrt {a} c \text {arctanh}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )-\frac {3 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{7 b^{2/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}+\frac {2\ 3^{3/4} \sqrt {2+\sqrt {3}} a \left (77 b d-55 \left (1-\sqrt {3}\right ) \sqrt [3]{a} b^{2/3} e-14 a g\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right ),-7-4 \sqrt {3}\right )}{385 b^{4/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}} \]
[Out]
Time = 0.39 (sec) , antiderivative size = 620, normalized size of antiderivative = 1.00, number of steps used = 11, number of rules used = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.314, Rules used = {1840, 1846, 272, 65, 214, 1902, 1900, 267, 1892, 224, 1891} \[ \int \frac {\sqrt {a+b x^3} \left (c+d x+e x^2+f x^3+g x^4\right )}{x} \, dx=\frac {2\ 3^{3/4} \sqrt {2+\sqrt {3}} a \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right ),-7-4 \sqrt {3}\right ) \left (-55 \left (1-\sqrt {3}\right ) \sqrt [3]{a} b^{2/3} e-14 a g+77 b d\right )}{385 b^{4/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {3 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\arcsin \left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{7 b^{2/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-\frac {2}{3} \sqrt {a} c \text {arctanh}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )+\frac {6 a e \sqrt {a+b x^3}}{7 b^{2/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {2 \sqrt {a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}+\frac {2 a f \sqrt {a+b x^3}}{9 b}+\frac {6 a g x \sqrt {a+b x^3}}{55 b} \]
[In]
[Out]
Rule 65
Rule 214
Rule 224
Rule 267
Rule 272
Rule 1840
Rule 1846
Rule 1891
Rule 1892
Rule 1900
Rule 1902
Rubi steps \begin{align*} \text {integral}& = \frac {2 \sqrt {a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}+\frac {1}{2} (3 a) \int \frac {\frac {2 c}{3}+\frac {2 d x}{5}+\frac {2 e x^2}{7}+\frac {2 f x^3}{9}+\frac {2 g x^4}{11}}{x \sqrt {a+b x^3}} \, dx \\ & = \frac {2 \sqrt {a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}+\frac {1}{2} (3 a) \int \frac {\frac {2 d}{5}+\frac {2 e x}{7}+\frac {2 f x^2}{9}+\frac {2 g x^3}{11}}{\sqrt {a+b x^3}} \, dx+(a c) \int \frac {1}{x \sqrt {a+b x^3}} \, dx \\ & = \frac {6 a g x \sqrt {a+b x^3}}{55 b}+\frac {2 \sqrt {a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}+\frac {(3 a) \int \frac {\frac {1}{11} (11 b d-2 a g)+\frac {5 b e x}{7}+\frac {5}{9} b f x^2}{\sqrt {a+b x^3}} \, dx}{5 b}+\frac {1}{3} (a c) \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,x^3\right ) \\ & = \frac {6 a g x \sqrt {a+b x^3}}{55 b}+\frac {2 \sqrt {a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}+\frac {(3 a) \int \frac {\frac {1}{11} (11 b d-2 a g)+\frac {5 b e x}{7}}{\sqrt {a+b x^3}} \, dx}{5 b}+\frac {(2 a c) \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b x^3}\right )}{3 b}+\frac {1}{3} (a f) \int \frac {x^2}{\sqrt {a+b x^3}} \, dx \\ & = \frac {2 a f \sqrt {a+b x^3}}{9 b}+\frac {6 a g x \sqrt {a+b x^3}}{55 b}+\frac {2 \sqrt {a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}-\frac {2}{3} \sqrt {a} c \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )+\frac {(3 a e) \int \frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\sqrt {a+b x^3}} \, dx}{7 \sqrt [3]{b}}+\frac {\left (3 a \left (77 b d-55 \left (1-\sqrt {3}\right ) \sqrt [3]{a} b^{2/3} e-14 a g\right )\right ) \int \frac {1}{\sqrt {a+b x^3}} \, dx}{385 b} \\ & = \frac {2 a f \sqrt {a+b x^3}}{9 b}+\frac {6 a g x \sqrt {a+b x^3}}{55 b}+\frac {6 a e \sqrt {a+b x^3}}{7 b^{2/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {2 \sqrt {a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}-\frac {2}{3} \sqrt {a} c \tanh ^{-1}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )-\frac {3 \sqrt [4]{3} \sqrt {2-\sqrt {3}} a^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{7 b^{2/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}+\frac {2\ 3^{3/4} \sqrt {2+\sqrt {3}} a \left (77 b d-55 \left (1-\sqrt {3}\right ) \sqrt [3]{a} b^{2/3} e-14 a g\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{385 b^{4/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 9.19 (sec) , antiderivative size = 185, normalized size of antiderivative = 0.30 \[ \int \frac {\sqrt {a+b x^3} \left (c+d x+e x^2+f x^3+g x^4\right )}{x} \, dx=\frac {4 \sqrt {1+\frac {b x^3}{a}} \left (\sqrt {a+b x^3} \left (33 b c+11 a f+9 a g x+11 b f x^3+9 b g x^4\right )-33 \sqrt {a} b c \text {arctanh}\left (\frac {\sqrt {a+b x^3}}{\sqrt {a}}\right )\right )+18 (11 b d-2 a g) x \sqrt {a+b x^3} \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},\frac {1}{3},\frac {4}{3},-\frac {b x^3}{a}\right )+99 b e x^2 \sqrt {a+b x^3} \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},\frac {2}{3},\frac {5}{3},-\frac {b x^3}{a}\right )}{198 b \sqrt {1+\frac {b x^3}{a}}} \]
[In]
[Out]
Time = 1.56 (sec) , antiderivative size = 848, normalized size of antiderivative = 1.37
method | result | size |
elliptic | \(\text {Expression too large to display}\) | \(848\) |
default | \(\text {Expression too large to display}\) | \(1118\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.23 (sec) , antiderivative size = 340, normalized size of antiderivative = 0.55 \[ \int \frac {\sqrt {a+b x^3} \left (c+d x+e x^2+f x^3+g x^4\right )}{x} \, dx=\left [\frac {1155 \, \sqrt {a} b^{2} c \log \left (-\frac {b^{2} x^{6} + 8 \, a b x^{3} - 4 \, {\left (b x^{3} + 2 \, a\right )} \sqrt {b x^{3} + a} \sqrt {a} + 8 \, a^{2}}{x^{6}}\right ) - 5940 \, a b^{\frac {3}{2}} e {\rm weierstrassZeta}\left (0, -\frac {4 \, a}{b}, {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right )\right ) + 756 \, {\left (11 \, a b d - 2 \, a^{2} g\right )} \sqrt {b} {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right ) + 4 \, {\left (315 \, b^{2} g x^{4} + 385 \, b^{2} f x^{3} + 495 \, b^{2} e x^{2} + 1155 \, b^{2} c + 385 \, a b f + 63 \, {\left (11 \, b^{2} d + 3 \, a b g\right )} x\right )} \sqrt {b x^{3} + a}}{6930 \, b^{2}}, \frac {1155 \, \sqrt {-a} b^{2} c \arctan \left (\frac {2 \, \sqrt {b x^{3} + a} \sqrt {-a}}{b x^{3} + 2 \, a}\right ) - 2970 \, a b^{\frac {3}{2}} e {\rm weierstrassZeta}\left (0, -\frac {4 \, a}{b}, {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right )\right ) + 378 \, {\left (11 \, a b d - 2 \, a^{2} g\right )} \sqrt {b} {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right ) + 2 \, {\left (315 \, b^{2} g x^{4} + 385 \, b^{2} f x^{3} + 495 \, b^{2} e x^{2} + 1155 \, b^{2} c + 385 \, a b f + 63 \, {\left (11 \, b^{2} d + 3 \, a b g\right )} x\right )} \sqrt {b x^{3} + a}}{3465 \, b^{2}}\right ] \]
[In]
[Out]
Time = 4.29 (sec) , antiderivative size = 235, normalized size of antiderivative = 0.38 \[ \int \frac {\sqrt {a+b x^3} \left (c+d x+e x^2+f x^3+g x^4\right )}{x} \, dx=- \frac {2 \sqrt {a} c \operatorname {asinh}{\left (\frac {\sqrt {a}}{\sqrt {b} x^{\frac {3}{2}}} \right )}}{3} + \frac {\sqrt {a} d x \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {1}{3} \\ \frac {4}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {4}{3}\right )} + \frac {\sqrt {a} e x^{2} \Gamma \left (\frac {2}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {2}{3} \\ \frac {5}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {5}{3}\right )} + \frac {\sqrt {a} g x^{4} \Gamma \left (\frac {4}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {4}{3} \\ \frac {7}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac {7}{3}\right )} + \frac {2 a c}{3 \sqrt {b} x^{\frac {3}{2}} \sqrt {\frac {a}{b x^{3}} + 1}} + \frac {2 \sqrt {b} c x^{\frac {3}{2}}}{3 \sqrt {\frac {a}{b x^{3}} + 1}} + f \left (\begin {cases} \frac {\sqrt {a} x^{3}}{3} & \text {for}\: b = 0 \\\frac {2 \left (a + b x^{3}\right )^{\frac {3}{2}}}{9 b} & \text {otherwise} \end {cases}\right ) \]
[In]
[Out]
\[ \int \frac {\sqrt {a+b x^3} \left (c+d x+e x^2+f x^3+g x^4\right )}{x} \, dx=\int { \frac {{\left (g x^{4} + f x^{3} + e x^{2} + d x + c\right )} \sqrt {b x^{3} + a}}{x} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {a+b x^3} \left (c+d x+e x^2+f x^3+g x^4\right )}{x} \, dx=\int { \frac {{\left (g x^{4} + f x^{3} + e x^{2} + d x + c\right )} \sqrt {b x^{3} + a}}{x} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {a+b x^3} \left (c+d x+e x^2+f x^3+g x^4\right )}{x} \, dx=\int \frac {\sqrt {b\,x^3+a}\,\left (g\,x^4+f\,x^3+e\,x^2+d\,x+c\right )}{x} \,d x \]
[In]
[Out]